package com.book.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>
 * 收藏表
 * </p>
 *
 * @author wx
 * @since 2023-10-16 14:54:04
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("collect_ranking")
@ToString
public class CollectRanking implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("book_id")
    private Long bookId;

    @TableField("number")
    private Long number;


    public static final String ID = "id";

    public static final String BOOK_ID = "book_id";

    public static final String NUMBER = "number";

}
